import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from '../views/index'
import Test from '../views/test'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'Index',
        component: Index
    },
    {
        path: '/test',
        name: 'Test',
        component: Test
    }
]

const router = new VueRouter({
  routes
})

export default router
